package org.celery.modules.productSource.entity;

import com.alibaba.ocean.rawsdk.client.APIId;
import com.alibaba.ocean.rawsdk.common.AbstractAPIRequest;
import lombok.Data;

import java.util.Date;

@Data
public class AlibabaProductGetListParam extends AbstractAPIRequest<AlibabaProductGetListResult> {
    private String signs;
    private Integer pageNo;
    private Integer pageSize;
    private String[] statusList;
    private Long categoryId;
    private Date startModifyTime;
    private Date endModifyTime;
    private String subjectKey;
    private String cargoNumber;
    private Long[] productIds;
    private Integer beginStar;
    private Integer endStar;
    private Integer groupIds;
    private Date startPublishTime;
    private Date endPublishTime;
    private Date startExpiredTime;
    private Date endExpiredTime;
    private Double priceStart;
    private Double priceEnd;
    private String orderByCondition;
    private String orderByType;
    private Boolean supportOnlineTrade;
    private Boolean privateOffer;
    private Boolean needDetail;
    private Boolean needFreight;
    private Boolean needUserCategoryInfo;

    public AlibabaProductGetListParam() {
        this.oceanApiId = new APIId("com.alibaba.product", "alibaba.product.list.get", 1);
    }
}
